package za.org.jcicada.cfgmngr.impl;

import java.util.Map;
import java.util.Properties;

public class MockPhysicalServer extends PhysicalServer {

	private Map<String, Properties> viewProperties;
	
	public MockPhysicalServer(Properties properties, Map<String, Properties> viewProperties) {
		super(properties);
		this.viewProperties = viewProperties;
	}
	
	@Override
	protected Properties getViewProperties(String view) {
		return viewProperties.get(view);
	}

}
